|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectga.core.algorithm.util.RandomSingleton
public final class RandomSingleton
Utility class that holds a single instance of a MersenneTwister
random.
Field Summary | |
---|---|
private static java.util.Random |
rnd
|
Constructor Summary | |
---|---|
private |
RandomSingleton()
Instantiation is not allowed. |
Method Summary | |
---|---|
static java.util.Random |
getRandom()
Getter for the single instance of the MersenneTwister random. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static java.util.Random rnd
Constructor Detail |
---|
private RandomSingleton()
Method Detail |
---|
public static java.util.Random getRandom()
MersenneTwister
random.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |